##
## Makefile for kernel test


PWD			 = $(shell pwd) 
KERNEL_DIR	 = /opt/work/raspberryPi-linux/linux/

MODULE_NAME	 = hdmi-cec
obj-m		:= $(MODULE_NAME).o

$(MODULE_NAME)-y := \
	hdmi_cec_utils.o \
	hdmi_cec_line.o \
	hdmi_cec_core.o \
	hdmi_cec.o

all:
	make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C $(KERNEL_DIR) M=$(PWD) modules
clean:
	make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C $(KERNEL_DIR) M=$(PWD) clean
